package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/resp")
public class BlogResponseController {
    @RequestMapping("/getIndex")
    public String getIndex(){
        return "/html/index.html";
    }
    @RequestMapping("/getIndex2")
    @ResponseBody
    public String getIndex2(){
        return "/html/index.html";
    }
}
